#ifndef HEROELEMENT_HPP
#define HEROELEMENT_HPP

#include <Box2D.h>

#include "Element.hpp"

class Element;

class HeroElement : public Element {
public:
    static const float HEIGHT;
    static const float FRICTION;
    static const float MASS;
    static const float RESTITUTION;
    static const float WIDTH;

    bool flying;
    b2Joint* grabbedBox;
    bool lookingAtRight;
    bool stopping;
    b2Fixture* mainFixture;
    bool onAir;

    HeroElement(float x, float y, b2World* world);

    virtual bool isHero();
};

#endif
